package designpattern.d16;

import cn.hutool.json.JSONUtil;
import lombok.extern.slf4j.Slf4j;

/**
 * Created By  醉美柳舞之众星捧月
 *
 * @author songx
 * @date 2020/2/20 15:08
 */
@Slf4j
public class Notification {

    public void notify(NotificationEmergencyLevel urgency, String s) {
        log.info("输出参数： {},{}", JSONUtil.toJsonStr(urgency), s);
    }
}
